﻿add_executable (QBiliDanmuBot "QBiliDanmuBot.cpp" "BilMsg.cpp" "EnvEncode.cpp")

if (CMAKE_VERSION VERSION_GREATER 3.12)
  set_property(TARGET QBiliDanmuBot PROPERTY CXX_STANDARD 20)
endif()

# CURL
target_include_directories(QBiliDanmuBot PRIVATE ${CURL_INCLUDE_DIRS})

target_link_libraries(QBiliDanmuBot PRIVATE CURL::libcurl)
